import MyBarChart from "./components/BarChart"

const Home = () => {
  return (
    <div>
      <MyBarChart 
        chartTitle="四大框架使用度(%)" 
        xData={['angular', 'react', 'vue', 'svelte']}
        yData={[20, 40, 30, 10]}
      />
      <MyBarChart 
        chartTitle="四大框架满意度(%)"
        xData={['angular', 'react', 'vue', 'svelte']}
        yData={[75, 85, 80, 65]}
      />
    </div>
  )
}
export default Home